home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d21 / dvglue10.arc / DVJSTART.C < prev    next >
C/C++ Source or Header  |  1988-08-13  |  1KB  |  32 lines

  1. /*=======================================================*/
  2. /*  TVJSTART.C                                           */
  3. /*     application management functions                  */
  4. /*                                                       */
  5. /*  (c) Copyright 1988 Ralf Brown  All Rights Reserved   */
  6. /*  May be freely copied for noncommercial use, so long  */
  7. /*  as this copyright notice remains intact, and any     */
  8. /*  changes are marked in the comment blocks preceding   */
  9. /*  functions.                                           */
  10. /*=======================================================*/
  11.  
  12. #include "tvapi.h"
  13. #include "tvstream.h"
  14.  
  15. /*======================================================*/
  16. /* DVapp_start  create a new application in a new       */
  17. /*              process                                 */
  18. /*   Ralf Brown 4/23/88                                 */
  19. /*======================================================*/
  20.  
  21. OBJECT pascal DVapp_start(void *pif, int pif_size)
  22. {
  23.    _DI = FP_OFF((void far *)pif) ;
  24.    _ES = FP_SEG((void far *)pif) ;
  25.    _BX = pif_size ;
  26.    _AX = 0x102C ;
  27.    geninterrupt(0x15) ;
  28.    return MK_OBJ(_BX) ;
  29. }
  30.  
  31. /* End of TVJSTART.C */
  32.